package com.hatchsolution.ftp.pool;



import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

public class FTPPoolConfig extends GenericObjectPoolConfig {
	private String host;
	private int port;
	private String username;
	private String password;
	private String passiveMode;
	private String encoding;
	private int clientTimeout;
	private int threadNum;
	private int transferFileType;
	private boolean renameUploaded;
	private int retryTimes;

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassiveMode() {
		return passiveMode;
	}

	public void setPassiveMode(String passiveMode) {
		this.passiveMode = passiveMode;
	}

	public String getEncoding() {
		return encoding;
	}

	public void setEncoding(String encoding) {
		this.encoding = encoding;
	}

	public int getClientTimeout() {
		return clientTimeout;
	}

	public void setClientTimeout(int clientTimeout) {
		this.clientTimeout = clientTimeout;
	}

	public int getThreadNum() {
		return threadNum;
	}

	public void setThreadNum(int threadNum) {
		this.threadNum = threadNum;
	}

	public int getTransferFileType() {
		return transferFileType;
	}

	public void setTransferFileType(int transferFileType) {
		this.transferFileType = transferFileType;
	}

	public boolean isRenameUploaded() {
		return renameUploaded;
	}

	public void setRenameUploaded(boolean renameUploaded) {
		this.renameUploaded = renameUploaded;
	}

	public int getRetryTimes() {
		return retryTimes;
	}

	public void setRetryTimes(int retryTimes) {
		this.retryTimes = retryTimes;
	}

	@Override
	public void setMaxTotal(int maxTotal) {
		super.setMaxTotal(maxTotal);
	}

	@Override
	public void setMaxIdle(int maxIdle) {
		super.setMaxIdle(maxIdle);
	}

	@Override
	public void setMinIdle(int minIdle) {
		super.setMinIdle(minIdle);
	}

	@Override
	public void setLifo(boolean lifo) {
		super.setLifo(lifo);
	}

	@Override
	public void setFairness(boolean fairness) {
		super.setFairness(fairness);
	}

	@Override
	public void setMaxWaitMillis(long maxWaitMillis) {
		super.setMaxWaitMillis(maxWaitMillis);
	}

	@Override
	public void setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis) {
		super.setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis);
	}

	@Override
	public void setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis) {
		super.setSoftMinEvictableIdleTimeMillis(softMinEvictableIdleTimeMillis);
	}

	@Override
	public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun) {
		super.setNumTestsPerEvictionRun(numTestsPerEvictionRun);
	}

	@Override
	public void setTestOnCreate(boolean testOnCreate) {
		super.setTestOnCreate(testOnCreate);
	}

	@Override
	public void setTestOnBorrow(boolean testOnBorrow) {
		super.setTestOnBorrow(testOnBorrow);
	}

	@Override
	public void setTestOnReturn(boolean testOnReturn) {
		super.setTestOnReturn(testOnReturn);
	}

	@Override
	public void setTestWhileIdle(boolean testWhileIdle) {
		super.setTestWhileIdle(testWhileIdle);
	}

	@Override
	public void setEvictionPolicyClassName(String evictionPolicyClassName) {
		super.setEvictionPolicyClassName(evictionPolicyClassName);
	}

	@Override
	public void setBlockWhenExhausted(boolean blockWhenExhausted) {
		super.setBlockWhenExhausted(blockWhenExhausted);
	}

	@Override
	public void setJmxEnabled(boolean jmxEnabled) {
		super.setJmxEnabled(jmxEnabled);
	}

	@Override
	public void setJmxNameBase(String jmxNameBase) {
		super.setJmxNameBase(jmxNameBase);
	}

	@Override
	public void setJmxNamePrefix(String jmxNamePrefix) {
		super.setJmxNamePrefix(jmxNamePrefix);
	}

}
